package com.joey.jvm.example.oom;

import java.util.ArrayList;
import java.util.List;

/**
 * @author hyy
 * @description
 * @date 2019-03-25 14:46
 **/
public class Main {

    private static List<Demo> list = new ArrayList<>();

    public static void main(String[] args) {
        //run as ... run config
        while (true){
            list.add(new Demo());
        }

    }

}




    